﻿using DDD.Domain;

namespace GoodsModule.IntegrationEvents
{
    public record GoodsCreatedIntegrationEvent(int OrderId) : IIntegrationEvent;

    public record GoodsDeductStockFailIntegrationEvent(int OrderId, int GoodsId) : IIntegrationEvent;

    public record GoodsDeductStockSuccessIntegrationEvent(int OrderId) : IIntegrationEvent;
}
